package ltd.dujiabao.capability.domain.capmng.sync.newmodulespec;

import java.util.Collections;
import java.util.List;
import java.util.Map;

/**
 * @author : DuJiabao
 * @Project : ddd-capability
 * @Time : 2024/4/11 20:33
 * @Desc :
 */

public class NewModuleSpec {
    List<String> moduleNames;
    Map<String, Object> modules;

    public NewModuleSpec(List<String> moduleNames, Map<String, Object> modules) {
        this.moduleNames = moduleNames;
        this.modules = modules;
    }

    public List<String> getModuleNames() {
        return Collections.unmodifiableList(moduleNames);
    }

    public Map<String, Object> getModules() {
        return Collections.unmodifiableMap(modules);
    }
}
